package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "followr_question_main")
public class FollowrQuestionMain implements Serializable {
    private static final long serialVersionUID = 8043224529687169618L;

    @Id
    @Column(name = "fid_bigint", columnDefinition = "bigint(20)")
    private Long fid;
    @Column(name = "f_code_nvarchar", columnDefinition = "varchar(255)")
    private String fCode;
    @Column(name = "send_type_tinyint", columnDefinition = "tinyint(1)")
    private Integer sendType;
    @Column(name = "dc_id_bigint", columnDefinition = "bigint(20)")
    private Long dcId;
    @Column(name = "pid_bigint", columnDefinition = "bigint(20)")
    private Long pid;
    @Column(name = "t_name_bvarchar", columnDefinition = "varchar(255)")
    private String tName;
    @Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
    private Date createTime;
    @Column(name = "answer_bit", columnDefinition = "tinyint(1)")
    private Boolean answer;
    @Column(name = "order_no_nvarchar", columnDefinition = "varchar(255)")
    private String orderNO;
    @Column(name = "finish_time_datetime", columnDefinition = "datetime(3)")
    private Date finishTime;
}
